package OOA.com.JavaBasis.abstract1;

public class Dog extends Animal{
    @Override
    public void eat() {
        System.out.println("狗吃饭");
    }

    @Override
    public void sleep() {
        System.out.println("狗睡觉");
    }

    public void dogwork(){
        System.out.println("看门");
    }
}
